package com.ht.system.api.dto;

import com.ht.common.core.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 企业备案对象 b_enterprise_info
 *
 * @author zmx
 * @date 2025-03-22
 */
public class EnterpriseInfoDto {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 企业信用代码
     */
    private String entCode;

    /**
     * 企业名称
     */
    private String entName;

    /**
     * 企业简称
     */
    private String entShortName;

    /**
     * 法人
     */
    private String legalPerson;

    /**
     * 联系人
     */
    private String linkman;

    /**
     * 联系电话
     */
    private String telephone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 企业地址
     */
    private String address;

    /**
     * 报关资质,0-没资质,1-有资质
     */
    private String cdqMark;

    /**
     * 企业状态（1-正常 0-停用）
     */
    private String status;

    /**
     * 企业类型：1-报关企业；2-货主企业
     */
    private String entType;

    /**
     * 营业执照图片
     */
    private String licenseImg;
    /**
     * 平台列表，多个用逗号分割
     */
    private String platformCodes;

    private String fieldCode;

    private List<EnterpriseOperDto> operList;
    private List<EnterpriseFieldAuthDto> fieldAuthList;


    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setEntCode(String entCode) {
        this.entCode = entCode;
    }

    public String getEntCode() {
        return entCode;
    }

    public void setEntName(String entName) {
        this.entName = entName;
    }

    public String getEntName() {
        return entName;
    }

    public void setEntShortName(String entShortName) {
        this.entShortName = entShortName;
    }

    public String getEntShortName() {
        return entShortName;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmail() {
        return email;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setCdqMark(String cdqMark) {
        this.cdqMark = cdqMark;
    }

    public String getCdqMark() {
        return cdqMark;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setEntType(String entType) {
        this.entType = entType;
    }

    public String getEntType() {
        return entType;
    }

    public void setLicenseImg(String licenseImg) {
        this.licenseImg = licenseImg;
    }

    public String getLicenseImg() {
        return licenseImg;
    }

    public String getPlatformCodes() {
        return platformCodes;
    }

    public void setPlatformCodes(String platformCodes) {
        this.platformCodes = platformCodes;
    }

    public List<EnterpriseOperDto> getOperList() {
        return operList;
    }

    public void setOperList(List<EnterpriseOperDto> operList) {
        this.operList = operList;
    }

    public List<EnterpriseFieldAuthDto> getFieldAuthList() {
        return fieldAuthList;
    }

    public void setFieldAuthList(List<EnterpriseFieldAuthDto> fieldAuthList) {
        this.fieldAuthList = fieldAuthList;
    }

    public String getFieldCode() {
        return fieldCode;
    }

    public void setFieldCode(String fieldCode) {
        this.fieldCode = fieldCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("entCode", getEntCode())
                .append("entName", getEntName())
                .append("entShortName", getEntShortName())
                .append("legalPerson", getLegalPerson())
                .append("linkman", getLinkman())
                .append("telephone", getTelephone())
                .append("email", getEmail())
                .append("address", getAddress())
                .append("cdqMark", getCdqMark())
                .append("status", getStatus())
                .append("entType", getEntType())
                .append("licenseImg", getLicenseImg())
                .toString();
    }
}
